 
-----------------------------
Generating Binomial N samples
p =  0.3 N =  10
  
  Generating Binomial Distribution samples.
  Date and time plus nanoseconds
Wed Jun 18 18:23:21 EDT 2014
232667639
  
[1] 0.3
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0000493 0.0013943 0.0139753 0.1132751
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 1.643333e-05 1.256126e-04 2.990009e-04 5.216109e-04
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] -1.416097e-16  1.098498e-03  2.446948e-03  1.537314e-02
[1] "Relative difference of empirical central moments from theoretical ones (except first):"
[1] 9.896374e-05 5.235232e-05 7.079046e-05
                         test   P.value KS.test
1                  Chi Square 0.9024946  Passed
2            Likelihood Ratio 0.9024946  Passed
3               Freeman-Tukey 0.6561199  Passed
4 Power Divergence (lambda=2) 0.8847602  Passed
[1] 0.3
[1] 10
[1] "Absolute difference of empirical moments from theoretical ones:"
[1] 0.0000493 0.0013943 0.0139753 0.1132751
[1] "Relative difference of empirical moments from theoretical ones:"
[1] 1.643333e-05 1.256126e-04 2.990009e-04 5.216109e-04
[1] "Absolute difference of empirical central moments from theoretical ones:"
[1] -1.416097e-16  1.098498e-03  2.446948e-03  1.537314e-02

	One-sample Kolmogorov-Smirnov test

data:  bin.unif
D = 0.0003, p-value = 0.6697
alternative hypothesis: two-sided

